fix keyboard type