photo_ids fix