publish: fix random layout issues

generated from commit b8a352c2b607fdeab77a868036cb5b6249b1555f