fixes for keyboard