fix some problems about path style under sb windows