fix fix for substr_search()