dotDict: fixed obscure bug related to deepcopy