Prepare for revert