fixing models.