compare arrays don't work