fix the bug segment fault error of chap10/booleadparser