adding patch for photos in EvtGen