added support for hex offset format