fixed the submit on enter for chrome