removing glitch