fix keyboard layout changes