botspeak: out-of-bound access return last element instead of throwing an exception.