fixed startup on Windows