fixing server publish composite for posts and image