Correction for setname in outputSGP