fix two more complaints from CRAN checks