Exception format changed for index out of bounds