packet counter was wrong