fixes setting image_file for opportunities