fixed ArrayIndexOutOfBoundsException: 3