trying to fix a bug mentioned in Issue #118
Merge branch 'connect'
to push to npmjs