fix the when tag without choose bug