Fixed an error with the dictionary.