remove error message from form on successful submit when inserting errors