Bug fix: missing bracket on template function call