set RemoteEndpoint in Assign