potential num out of bound?