Improve the grammaticallity of this text:
The first problem is due to government related issues while the second is related to the environmental issues.
The first problem is due to government-related issues, while the second is related to environmental issues.