fixed brightness glitch once and for all