change the format of packet and prepared for new client