fixed base template to have closing html tag