FIxed ranking issue