got rid of the glitch