fix print output