removed unclosed template block