added check for windows xp path