fixed bug in SSgetoutput thanks to Xi He