fixed CRAN check issues