fix associate server to key