fixing commands definition json