finish longest valid parenthese   fix issue #71