fixed select(item,table) bug