publications.py cleanup