Fixed syntax error in template - take 2