fix(disconnect): move scope disconnect before enter