make parser more stable