diff --git a/openquake/engine/calculators/risk/writers.py b/openquake/engine/calculators/risk/writers.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/calculators/risk/writers.py
+++ b/openquake/engine/calculators/risk/writers.py
@@ -492,7 +492,7 @@ class InsuredLossCurveBuilder(OutputBuilder):
 
 class LossFractionBuilder(OutputBuilder):
     def individual_outputs(self, loss_type, hazard_output):
-        variables = ["magnitude_distance", "coordinates"]
+        variables = ["magnitude_distance", "coordinate"]
 
         loss_fractions = []
         if self.calc.rc.sites_disagg:
diff --git a/tests/export/core_test.py b/tests/export/core_test.py
index <HASH>..<HASH> 100644
--- a/tests/export/core_test.py
+++ b/tests/export/core_test.py
@@ -34,7 +34,6 @@ def number_of(elem_name, tree):
 
 
 class BaseExportTestCase(unittest.TestCase):
-
     def _test_exported_file(self, filename):
         self.assertTrue(os.path.exists(filename))
         self.assertTrue(os.path.isabs(filename))
fix typo in writer


Former-commit-id: c5f0bea4b<I>bc1a<I>d2ebe<I>bb3d<I>c6fc0