fix some deployer issues