fix windows path bugs