Please remove grammatical flaws from the given sentence.
Secondly, in terms of subsidy and medical insurance, the government often fails to differtiate the levels of need among different groups of people.
Secondly, in terms of subsidy and medical insurance, the government often fails to differentiate the levels of needs among different groups of people.