use correct packet type