small optimize for B6AutoDeploy.py