fixed bug where some keys would not open a window