fixed input manager glitch