fix key err