#330: fixed model parameter passing