fix key warning