Fix end point