fixed issue that prevented client from connecting to server