make deploy safer