fix TableComponent