Fixed array dereferencing errors