fix ranking page bug