fix table not created bug when initial selection has no items