fixed the bitchy bug on ranks