bug fix for c(1,2)[10:20]