fix delete func_key