fixed reconnecting