fixed error when rank increment goes from single to multibyte