fix func_key order