Fixed bug when auto update does not work on your OS