correcting disconnect method