rank cache bug