cleanup for printouts