keyboard: ugly bugfix