solved pairs problem in search track