fix disconnects