Fix print issues