Bugfix: deleting original image