minor fix + main.rvw