fix print issues
a. bug