fix delete photo