Fix stupid templaing bug introduced by previous fix