fixed working of private disconnect.