Bug of print message corrected