fix dodgy template syntax error