remove some definitely unused lines in common.py