deleting obsolete images