fix indentation in templates