fixes ranking