fix keyboard to next bug