fixed same string insertion in single length pruning