minor fix to print message