~fix bug in findsamestring.cpp