Your data element is named "Pathname" (as per the screenshot) but you
are referencing it as %pathname%. Check capitalisation of the data
element names in the references. Otherwise, make sure the data elements
are included in the library (you potentially could save them, but did
not add to the library).