optimize ux of publish module