init array at each search