fix keyboard issue