fix for nested template functions