2004 Kia Sorento cranks, won’t start

My Kia when cold it cranks but doesnt want to start,when you get it started and its hot it still battle to start.
the glo plugs was changed and about a month ago i changed the Crack and Cab Sensors.

There’s the problem. Your engine is on crack.

I just want to verify that you changed the “glow plugs, or spark plugs”???

Yosemite

The next time you go to start the vehicle cold, turn the ignition switch on so the dash lights come on for two seconds, and then turn the ignition switch off.

Repeat this a half dozen times and then try starting the engine.

If the engine starts right up, the problem is with the anti drain-back valve on the fuel pump.

The reason the vehicle is hard to start when hot is, the anti drain-back valve isn’t retaining residual fuel pressure in the fuel system when the engine is hot. This results in vapor lock and hard starting.

Tester