Correcting the grammar