Fix glitch that made it crash