winding cleanup