fixed optionsFirst bug