small changes for CRAN submission