fix the windows main