fixed empty facets bug