very minor change to the simple search code