bug fixed: unicode error when passing chinese.