fixed range() bug in --combine --student