fixed autoselecting