add scope attribute for sub_ranking