Fixed bug in base.html