wait for init
tweak build
fix publishaddrs JSON