remove puts stmts