Fix OutOfBoundsException for args