Running rich 2011 Sonata

I have a 2011 Sonata 2.4L giving me some trouble. It will start when cold but once it is hot it is hard to start. You have to feather the gas pedal to get it to start. It keeps throwing a p2188 and p0170. I have replaced the spark plugs, B1S1 o2 sensor and fuel injectors.

Any ideas on where else to look as so why it is running rich?