small corrections in signature.py