HID: local function should be static