fix select to not use table columns as select state default columns