fix macos