fixed autocmplete endpt