refactor to setAutFillEnabled in a cb