remove puts commands