fix error with incorrect key_code & process hold key-set