fix core arg for defineOption()