cleaning and fixing keylayout