BUG: accessing rvector with wrong column