Fixed adding server failure.