fix to insure that overlapping strings are properly handled