fix foreign across catalog sortcase issue