cleans up debug print statements