fix windows startup bug since last commit