fixed keypress not working on firefox
fixed conflict