trying to fix a printout error