fix duplicated photo