Fix the endpoint