Bug fix. Initalize the dictionary