prepare publish to war