fixes spawn on windows; #24