fix issue on Windows