Tryed to fix array error