fixed bad print statements