revert form changes