fix keyboard problem