Fixed Diconnecting bug