change packet format