fixed a variable reference in the base.html template