fixed issue with submit on enter