correction to collect ontology types