fixed switching to endpoint details when new endpoint is created