fix some typos in connection