fix: make revision check look at model instead of dict