cleanup print output