Minor changes in ranker