MIDI port setup configuration lost at each MIDI port rescan (if there is a new MIDI port)

Hello, on macOS, Cubase 15 pro, every time I add a new MIDI device to my computer either hardware or virtual port, Cubase will detect that and revert all the MIDI port setup configuration, so I’ll need to go and uncheck one by one every midi port I don’t want, it’s quite tedious

up, anyone ? it’s time consuming to uncheck all midi port from “all midi input” every time something change in my midi setup