Fixed deploy task issue