minor cleanup on print visitor diagnostics