fixed start bug on Windows