Fix indexOfBoundException problem for the WS xls