fixed failures occurring in headpin-cli nightly tests