Fixed issue in rankings