Modified delMacro()