removes the destructor in cadaddcommand