fixed bugs in windows config