genericElementHandling: replaced old method with newly added to fix bug that occured when there was no token dominated by a struc