fixing print statements