bug fix: fix connection count