Fix wrong hex offset and allow address of 0