fixed parsing exception. close #291