fixed switch recommend and ranking.
Merge pull request #27 from ScrumPBL/switch_ranking_recommend

fixed switch recommend and ranking.