direct array setting security violation correction