fix for download rosters; renamed all instances of $dimension to $rk_num