handling of pruned target words was broken