if no image delete config