moved buildstep output before the layer check