fix facet/xpath lookup stuff.