modify image delete bug