Prevention of the light induced effect of a-Si:H films and solar cells