various fixes, + ontologies first functions