added removal of img.