repair keyboard.c