tried to fix a glitch