fixed offset decrement order in printHex now work as expected