fix bug about analyzing json