fixed array issue