Fix the array equal problem