fix facet bug