deleting excess images