fixed the printouts