revert last change, sync with qgis