fixed newly introduced endpoint configuration bug