fix brightness modulation