bug fix (extra unwanted cells when no $id column)