fixed failing headpin nightly test