corrects findById on models.