Change rank fixed bug