Minor changed on OnKeyPress