an upgrade fix and further pubIds porting

Extra newline?