recv length fix