Trying to fix keydown bug ?