bugfix: error in evaluation of footer variable