Fix. use the dict.copy