correction to rmd file