impl DD remove for CDLC

removed bug on mainDB edit