wip fix packet stats