multinomial fix