remove ghost (pruning) from signatures.py