fixed errors in sga arguments