Delete SGMAIN