update sc_core.c. It's looks already work well ^_^