fix table_get bug