optimize builder refresh output dir