- remove logger in prepareHex()