fix crash in sxc format