fixed keyboard repeat issue