Fixing cp with no dp case in iface.c