CRAN check corrections