fixed deploy task issue with gates