fixes key->uid rename