Error !

UnboundLocalError: local variable 'last' referenced before assignment

except: context.write(object.why()) %> ${last} <div id="contentArea"> <div class="container"> <div class="one"> <div class="titlebar">${mediatitle}</div> %if year:
memory:0xb523450, line 69:
${last}
templates/default/site, line 212:
${self.main_content()}
/var/limecms/global/global01/local/lib/python2.7/site-packages/Mako-0.7.2-py2.7.egg/mako/runtime.py, line 824:
callable_(context, *args, **kwargs)
/var/limecms/global/global01/local/lib/python2.7/site-packages/Mako-0.7.2-py2.7.egg/mako/runtime.py, line 798:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/var/limecms/global/global01/local/lib/python2.7/site-packages/Mako-0.7.2-py2.7.egg/mako/runtime.py, line 766:
**_kwargs_for_callable(callable_, data))
/var/limecms/global/global01/local/lib/python2.7/site-packages/Mako-0.7.2-py2.7.egg/mako/template.py, line 412:
return runtime._render(self, self.callable_, args, data)
/var/limecms/global/global01/global-inst/Products/LimeTemplate/LimeTemplate.py, line 282:
html = mytemplate.render(object=object, site=site, lime=object.wrapper(object), **extra)