fixed typo on connect