fix http header length error