fix bug in linking old and new ontology