still bugs in deepcopy