remove puts messages from code