fix warrior deploy bug