[JC] adding in fix for a template of a template problem.