fix the duplicated photo