add pProtected field to publish