Try to fix deepcopy.