fix deploy_war