ensure clean removes mains