[FIX] fixed same problem as commit 58e759540 on win