fix bug for windows OS path usage.