fix ArrayIndexOutOfBoundsException in RoundRobin [close #3]