fix ranking calculation