fixing pixel brightness issue