fixing directory separator issue in windows