fix winPath