fix brightness percentage