ci->err may be out of boud; close #1583