fixed rank bug