add condition to wizzard commit