cleaning up print output