Fixed array code
Signed-off-by: reevo17 <runt17@gmail.com>