fixed typo with connection def