fixed  bug in stagingDeployer