updated / restored following fix to knitr hook