version 1.0 fixed input glitch