engine light is staying on on 2004 Kia Optima

I have the carmd and it is telling me the reason for light is gas cap. I replace cap and had it reset at a local kia dealer. Now 2 weeks later light comes back on with it stating the same problem. Anybody out there having the same problem. kia states it is also the gas cap. inspected gas cap and it is in perfect condition

Kia as a car manufacturer put a lot of great technical information and work shop manuals on line for free for Kia owners. www.kiatechinfo.com I'm sure it some sort of an evaporative emission control problem but what is the exact code they found.