minor fix to listpub