fixed minor issues with kbd_controller