fix disconnect command