corrected a couple of printout format bugs