revert mishap and cleanup