fix taint issue
fix windows