fix wrong item traced and rewrite func_name getter