bug fixes for SGE