make autofill works