Now logic for rankup ( fix bug )