added feature for deleting attributed from the image