remove puts statement and change debug setting