Fix bug on Windows 10