fixed numbering and R chunks issue