commit tiny change in search function