fix deepcopy lags