fix the windows_main, thanks to emily for notifying me :)