fix key repeat