fixed glitch