fix typos in connectivity.c file