minor modify for windows