Fix for rstudio