Fix parsing when data is split as packet