resolving CRAN check issues