fixed submit on enter event