Making easier RankingFragment and fixing some variable names