removed some bugs from server client tutorial