fixing SGE support