Fixing The given key was not present in the dictionary