fix autoupdater and other stuff