Direct X 12 is locking frames at 30

I have a RTX 2070 and a I7-5820k with 32 gigs of ram (upgrading cpu soon).

I get around 130-140 fps on high settings with direct x11 but as soon as I switch it to 12 which is what the cards api is it drops down to and caps at 30. I am trying to figure what is causing this.