shorten status line
update old knitr code