expandtable - working but very intermittent crashes