make model bug fix