fix sortcase boundary error