nightmode bug fixed