fix disconnected issue