fixing on disconnection method