attempts to fix the print output