fixes issue with reading and writing ActionValueType.DOUBLE
resolve branch offsets