fix set and delete image