Normalize endpoint