change some keyboard layout code