cleanup print messages