Undo pre-optimization