clean up printout