aiConnErr bug fixed