fixed issue with knitr not working