fixed syntax error in template