fixed bug in base.html