Improve the grammaticallity of the following text.
On the flip side, although the problem of the emission of harmful gases has been handled, vehicles today are releasing carbon dioxide, which is a greenhouse gas, instead.
On the flip side, although the problem of emission of harmful gases has been, vehicles today are releasing carbon dioxide, which is a greenhouse gas, instead.