fixed windows launch code