some correction on windows