fix bug in spelldict