adding some string corrections to searchTerm