check OutOfBound