cleaned up packet output some more