fixed bug in discovery server name from config