What can cause stalling and rough idle when car is at operating temp only repla on 2002 Kia Optima

Replaced mass air flow no codes show in up after cleared car still stalls and will not accelerate at operating temp only runs great at cold start

Asked by for the 2002 Kia Optima
Codes should be checked with a GDS or Carmin lite tool.It may show more information.Check the air hose after the mass air sensor for cracks air leaks.
1 more answer
did you try throttle position sensor