to make setkeystate ok