What is likely the situation, is you are using the TLR 7 sub 'Sig' version with the Pro Ledge for the 1913 rail on an xMacro, or the TLR7 Sub 1913 version with the Pro Ledge for TLR7 SUB/SIG Rail, on a P365/X/XL.
These two versions of the light use different style and size clamps for the rails they support, and are not cross compatible between the Sig railed P365/X/XL, and xMacro.
Please do not fire your weapon while using the wrong clamps. You could break the Pro Ledge, and cause the light to fall off damaging it as well.
The left side clamp has white lettering showing what version you have.
The only difference. between all the versions of the TLR7 sub lights are their clamps and included keys.
If you contact streamlight, they will send you the hardware to convert it.
Contact link below.
https://www.streamlight.com/contact-us