fix bug for header table siz change