fixes from CMD CHECK and 3.14-0 submission to CRAN