fixed protocol creation

fixed publisher_id not null integrity error