Fix a bug fails to parse complex number in some case. close #3