getting model bug fix