removing form input on error