How to remove Xposed to pass safetynet?

I have the Moto X Pure the new versions of the ROM have Xposed pre-installed I tried to uninstall it using the Xposed uninstaller zip in TWRP it didn’t work . I even turned off and uninstalled the Xposedinstaller APK and it still can’t pass safetynet. I use magisk 16.0. What should I do?

The ROM itself doesn’t do any tricks to cheat SafetyNet. It’s not the problem of Xposed.