fix CTable index range out