fix support multi end-points