fixed active connections counter