bugfix for making signing work again.