test and "search" bug fix