You have to use the variables in a Lectora action. Otherwise Lectora believes they aren’t needed and doesn’t initialize them. If you want to use the variable later on the same page just create this action first. You can also add a group on title level with 1 action “Reset all variables”. This action uses all variables at once, just don’t Run this action group if you don’t want to reset the variables.