small cleanup of output