Plain text variables showing in template preview

Data tags are showing as plain text when printed and previewed, why might this be happening?
and how do I remove header fonts from dropdown the ribbon page?

Maybe there is no script defined for those data tags.
If you put the variable again on the Design page, it should solve the issue.
Regarding removing header fonts from dropdown, can you show us a print screen?

Hi @Yann,
thanks for your reply, I have found that I have to drag the variables repeatedly to show the different lines of repetitions