diff --git a/app/ecolyo.c4a60f59299d85d24359.js b/app/ecolyo.3419752503fa9ec4427a.js
similarity index 99%
rename from app/ecolyo.c4a60f59299d85d24359.js
rename to app/ecolyo.3419752503fa9ec4427a.js
index db16f25b3794b66ba8c788219095aa7f52329eff..27f8e602286526b1bf657198a7484ab4365eb4b9 100644
--- a/app/ecolyo.c4a60f59299d85d24359.js
+++ b/app/ecolyo.3419752503fa9ec4427a.js
@@ -19875,14 +19875,14 @@ var ProfileTypeEntityService = /*#__PURE__*/function () {
     key: "getProfileType",
     value: function () {
       var _getProfileType = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(date) {
-        var query, _yield$this$_client$q, _yield$this$_client$q2, profileType, result, _query, data, loadedProfileType, _loadedProfileType, _yield$this$_client$q3, _yield$this$_client$q4, _profileType, _result;
+        var query, _yield$this$_client$q, _yield$this$_client$q2, profileType, result, data, loadedProfileType, _loadedProfileType, _yield$this$_client$q3, _yield$this$_client$q4, _profileType, _result;
         return _regenerator.default.wrap(function _callee$(_context) {
           while (1) {
             switch (_context.prev = _context.next) {
               case 0:
                 query = (0, _cozyClient.Q)(_doctypes.PROFILETYPE_DOCTYPE);
                 if (!date) {
-                  _context.next = 29;
+                  _context.next = 28;
                   break;
                 }
                 _context.next = 4;
@@ -19906,46 +19906,45 @@ var ProfileTypeEntityService = /*#__PURE__*/function () {
               case 12:
                 _logger.default.debug('No profileType found for: ', date.toString());
                 _logger.default.debug('Checking if user has already filled a profileType and uses it as default');
-                _query = (0, _cozyClient.Q)(_doctypes.PROFILETYPE_DOCTYPE);
-                _context.next = 17;
-                return this._client.query(_query);
-              case 17:
+                _context.next = 16;
+                return this._client.query(query);
+              case 16:
                 data = _context.sent;
-                if (!data.data.length) {
-                  _context.next = 24;
+                if (!(data !== null && data !== void 0 && data.data.length)) {
+                  _context.next = 23;
                   break;
                 }
                 loadedProfileType = data.data[0];
                 _logger.default.debug('found oldest profileType filled by user : ', loadedProfileType);
                 return _context.abrupt("return", loadedProfileType);
-              case 24:
+              case 23:
                 // return default profiletype
                 _loadedProfileType = _objectSpread(_objectSpread({}, _profileTypeData.default[0].profileType), {}, {
                   updateDate: date
                 });
                 _logger.default.debug('No profileType were found, loading default profileType');
                 return _context.abrupt("return", _loadedProfileType);
-              case 27:
-                _context.next = 37;
+              case 26:
+                _context.next = 36;
                 break;
-              case 29:
-                _context.next = 31;
+              case 28:
+                _context.next = 30;
                 return this._client.query(query.where({}).indexFields(['updateDate']).sortBy([{
                   updateDate: 'desc'
                 }]).limitBy(1));
-              case 31:
+              case 30:
                 _yield$this$_client$q3 = _context.sent;
                 _yield$this$_client$q4 = (0, _slicedToArray2.default)(_yield$this$_client$q3.data, 1);
                 _profileType = _yield$this$_client$q4[0];
                 _result = _profileType ? _profileType : null;
                 if (!_result) {
-                  _context.next = 37;
+                  _context.next = 36;
                   break;
                 }
                 return _context.abrupt("return", this.parseProfileTypeEntityToProfileType(_profileType));
-              case 37:
+              case 36:
                 return _context.abrupt("return", null);
-              case 38:
+              case 37:
               case "end":
                 return _context.stop();
             }
@@ -23431,7 +23430,7 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
 /***/ "faa1":
 /***/ (function(module) {
 
-module.exports = JSON.parse("[{\"profileType\":{\"updateDate\":\"0000-01-01T00:00:00.000Z\",\"housingType\":\"individual_house\",\"constructionYear\":\"between_1975_and_1989\",\"area\":\"100\",\"occupantsNumber\":4,\"outsideFacingWalls\":\"2\",\"floor\":\"not_applicable\",\"heating\":\"individual\",\"coldWater\":\"individual\",\"hotWater\":\"individual\",\"individualInsulationWork\":[\"window_replacement\"],\"hotWaterEquipment\":\"solar\",\"hasInstalledVentilation\":\"unknown\",\"hasReplacedHeater\":\"unknown\",\"warmingFluid\":0,\"hotWaterFluid\":0,\"cookingFluid\":0}}]");
+module.exports = JSON.parse("[{\"profileType\":{\"updateDate\":\"0000-01-01T00:00:00.000Z\",\"housingType\":\"individual_house\",\"constructionYear\":\"between_1975_and_1989\",\"area\":\"100\",\"occupantsNumber\":4,\"outsideFacingWalls\":\"2\",\"floor\":\"not_applicable\",\"heating\":\"individual\",\"coldWater\":\"individual\",\"hotWater\":\"individual\",\"individualInsulationWork\":[\"window_replacement\"],\"hotWaterEquipment\":\"solar\",\"hasInstalledVentilation\":\"unknown\",\"hasReplacedHeater\":\"unknown\",\"warmingFluid\":0,\"hotWaterFluid\":0,\"cookingFluid\":0,\"equipments\":[]}}]");
 
 /***/ }),
 
diff --git a/index.html b/index.html
index 42e69d8f4f05c529c261c71db68b019686f9789c..5113c056d09232c1d1ec2df0f3da981df51ffda9 100644
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
-<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212"><meta name="color-scheme" content="only dark">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.77ee755a00655d3845ec.js"></script><script src="app/ecolyo.c4a60f59299d85d24359.js"></script></div></body></html>
\ No newline at end of file
+<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212"><meta name="color-scheme" content="only dark">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.77ee755a00655d3845ec.js"></script><script src="app/ecolyo.3419752503fa9ec4427a.js"></script></div></body></html>
\ No newline at end of file
diff --git a/services/aggregatorUsageEvents/ecolyo.js b/services/aggregatorUsageEvents/ecolyo.js
index a6d12ff26ca8ad0dab2aa956ee44489d5da9d99b..8721eecacf2865ddb59e370adcd1a581498b5b4e 100644
--- a/services/aggregatorUsageEvents/ecolyo.js
+++ b/services/aggregatorUsageEvents/ecolyo.js
@@ -152929,9 +152929,8 @@ class ProfileTypeEntityService {
       } else {
         _logger.default.debug('No profileType found for: ', date.toString());
         _logger.default.debug('Checking if user has already filled a profileType and uses it as default');
-        const query = (0, _cozyClient.Q)(_doctypes.PROFILETYPE_DOCTYPE);
         const data = await this._client.query(query);
-        if (data.data.length) {
+        if (data !== null && data !== void 0 && data.data.length) {
           const loadedProfileType = data.data[0];
           _logger.default.debug('found oldest profileType filled by user : ', loadedProfileType);
           return loadedProfileType;
@@ -153054,7 +153053,7 @@ exports.default = ProfileTypeEntityService;
 /* 1337 */
 /***/ (function(module) {
 
-module.exports = JSON.parse("[{\"profileType\":{\"updateDate\":\"0000-01-01T00:00:00.000Z\",\"housingType\":\"individual_house\",\"constructionYear\":\"between_1975_and_1989\",\"area\":\"100\",\"occupantsNumber\":4,\"outsideFacingWalls\":\"2\",\"floor\":\"not_applicable\",\"heating\":\"individual\",\"coldWater\":\"individual\",\"hotWater\":\"individual\",\"individualInsulationWork\":[\"window_replacement\"],\"hotWaterEquipment\":\"solar\",\"hasInstalledVentilation\":\"unknown\",\"hasReplacedHeater\":\"unknown\",\"warmingFluid\":0,\"hotWaterFluid\":0,\"cookingFluid\":0}}]");
+module.exports = JSON.parse("[{\"profileType\":{\"updateDate\":\"0000-01-01T00:00:00.000Z\",\"housingType\":\"individual_house\",\"constructionYear\":\"between_1975_and_1989\",\"area\":\"100\",\"occupantsNumber\":4,\"outsideFacingWalls\":\"2\",\"floor\":\"not_applicable\",\"heating\":\"individual\",\"coldWater\":\"individual\",\"hotWater\":\"individual\",\"individualInsulationWork\":[\"window_replacement\"],\"hotWaterEquipment\":\"solar\",\"hasInstalledVentilation\":\"unknown\",\"hasReplacedHeater\":\"unknown\",\"warmingFluid\":0,\"hotWaterFluid\":0,\"cookingFluid\":0,\"equipments\":[]}}]");
 
 /***/ }),
 /* 1338 */