Fix erro in Windows tool