fixed domain delete routine to use new delete format