Image deletion fixed