prom init check and build fix