fixed bug dealing with captial synonyms