undefined variable in deployer util