player animation
fixed keyboard input error