attenuation length fix