adding shape reference columns selection, missing initialization