Fixed problem with saving synonyms.