Cleanup in schedule