fix debug model