bug fix - 

find the substring in stringbuilder.