fix deploy tool