added expand range for nil course results