cleaned out unused images and empty image meta data