fix to publish