remove needless images