fixes digest signature