fixed code to get path on windows