[fx] initialize only once the grammar checker