I just bought a 2013 Kia Rio Hatchback with only 68k miles on it and one previous owner. There's been no issues with the engine based on the carfax for the vehicle. But my check engine/malfunction light came on and at first nothing happened. Then randomly my gas pedal stopped accelerating. I turned off the car, let it sit and then turned it back on again. I revved the engine and the gas worked fine and I made it home. In the morning I turned on the car and the engine light was off. It will randomly come on with no real reason and nothing FEELS wrong with it. I did fill it up at the gas station for the first time and noticed the loose gas cap may cause check engine light to come on if it doesn't click at least once. I could not get the cap to click for the life of me, but it did close. Does anyone know if that would cause the gas pedal to stop accelerating? Has anyone else experienced this? This is the first car I've ever purchased on my own so I wanna make sure I'm taking care of it!