fix usage of settings on windows