fixing ranking