fix array prob