fix some print messages