Fixed bug with facets