fix error placement for optionsetfield