Fixed problem in Dictionary class