enable and fix crypto debugging