fix https://github.com/pkrumins/keyboard/issues/1