fixed footer and broken tag in base template