fix array equals