fix key definition