attempt to fix some cran check issues

Still needs work