fix attenuation issues