fix "KeyError allowed_typos not found"