Hyundai Sonata 2015

Hi all,
Having RPM issues with my cars. Sometimes it works just fine (usually after sitting overnight). When I drive in the morning for the first few minutes works fine then RPM won’t rev more than 2000 rpm.
When I turn the car off and wait a few minutes sometimes it will work.
Replaced MAF Sensor and throttle body.
Still having issues… Any idea what can be causing this?
Mechanic has no idea…

Go and see your dealer because your vehicule is still under warranty.

I bought the car in Korea… It’s the Korean LF Version…
So no warranty…