fix brightness issue