remove unnecessary puts