bug fix: table size doubles on refresh