change packet path generator