small updates for CRAN acceptance