fix R code column name issue