fix analyze error