Fixed bug image delete.