change to deepcopy to make a copy of meta