Fix end URL