fix for profile images in model