fix repacket error