trim support macos