this seems to solve the error when doing a CRAN check