add condition in transition mixing