Fixing double template error.