SD-1294 Problems with templates