fixing auto-select on FF