keyboard event fixed