Environmental influence on adhesion of underfill with passivation materials