reverted changes to image model