get correct server