changed the facets and corrected some errors