small changes to search