remove func for endpoint name

and endpoint version