Cleanup for acyclic phase