Fix K_F9 error on windows