bugfix add publication write