Minor fix to be able to load in QGIS