more fixes to table size