fixes for R CMD check (#36)