fix deploy for pivotal adapter