Fixed Long packet size bug