fix uninitialized option bug