endpoint url fix