fix force case bug for sortcase