use #each in search