fix(check func_key): fix null pointer