Bug fix in base.html