fixed to work properly with github-updater