fix set opt macro