You’re removing the key from the list of keys, but you haven’t actually removed the entry from the map in the save game