fix macos terminal