fix auto_select_columns