refactor PublishingSettings