removes unused images
gets rid of unused images