fix bug for header table size change
merge conflict