set the flag to true
fix packet type