corrects autofocus attribute