Fix error on header verification