remove pbs headers, fix a few typos in means.py