Revert change to end phase again