add debug loging packet_lost