fix bug validation commande