delete unused images.