fixing simple search