fix for the photo object