fix problem with search