Fixed use of wrong variable name in arraysize.