fixed enter to submit issue