small fixes to pass "R CMD check --as-cran"
Merge pull request #66 from dselivanov/master

small fixes to pass "R CMD check --as-cran"