fix option on macos