fix multi delete photo problem