fix one bug in sip.py