small changes for CRAN compliance