fix in a factory method for 1 server configuration