fix config bug for endpoint configuration