cleaned macos stuff