fix missed comma in template function example