cleanup some puts