remove unnecessary puts.