fix array hopefully