search is not working corrently in xFlow