Template source fix