modofied deploy.go