Fix to publish