fixed disconnect class