fixing key codes in labelling client