Fixed some print issues