FIX:facets function indexName error