min header length bug fix