delete image bug fixed