Bug fix

the order of ranks was not right ..