on register enable autofocus