pingc2.py cleanup