Remove some un-wanted code

Remove some codes from double ranking which is not important anymore