bug fix, if there will be spaces in the search term