fix brightness fade problem