Fixed a pair of disconnect errors