fix print() output