suit for clang
fix SEGV problem at initial. (calling user-defined function cause
SEGV still now).