fixing calculating dala and basic qgis