properly print message