s/autoselect/autoSelect

Wrong variable name, causes undesired behavior.