fix bug of patent parser