fix speech model with multiple ids