fix disconnectCallback