remove some puts