fixed SelectTokens for empty containers