bug fix reporting bad model parameter