Fix Setting Issue on Windows