revert prepare