fix delete photo bug in opera