Added exception if token name is not defiend