fit new changes to addkey