movement and reset bugged