Correct disfluencies in the given sentence:
Other than relying on the police and military forces, the government has to educate the public on the dangers of terrorism and the importance in preventive them.
Other than relying on the police and the military forces, the government has to educate the public on the dangers of terrorism and the importance of preventing them.