add a joystick \
some bugs fixed