fixed array ref, removed duplicate ref