revert all form changes