modifications on windows platform