After Validation error resetting form input fields bug