remove pwd dependence for windows