Fixed Initial exception on connect to server