Solved disconnect bug