fixed up reconnect