fix settings for publish