Remove erroneous puts statements