fix packet len error