remove unneeded puts