bug fix in table