improved error behavior during a rare x13 error
CRAN submission