minor table bug fix