Some Adjusts in search method.