fixed a bug in the ontologyservice;matched with multiple synonyms