prevent on glitching all the time