removes some puts"