Fix the error in linking some of the grammars