fixed array key/value confusion