fix error with multiple servers