remove deepcopy from cli; still needed for gui