Yes, this is the downside to using hydrocarbon fuels. But like I said, there aren't really any suitable alternatives. Arguably the cleanest fuel would be hydrogen, but the density is low and it's extremely difficult to store. Aviation suffers from a similar problem.