Fix indention issue in generated template