Fixed the grammar formatter