better key_hover handling