imenu support local function temporary solution