fixing add pubs