fixed array_diff errror