fix command generator for twig