fix output digest?