minor fix in select-auto